
public class Summerer1a_AM {

	public static void main(String[] args) {
	

		System.out.println(summerer(100));

		}

		public static int summerer(int num) {

			if (num == 1) {
				System.out.println("Returnerte 1");
				return 1;
			} else {
				int result = num + summerer(num - 1);
				System.out.print("Returnert " + result);
				System.out.println(" : " + num + " + summerer(" + num +  - 1+")");
				return result;
			}

		
		
		
		
		
		
		
		
		
		
		
		
		
		
	}

}
